package tr.net.ems.esmart;

import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.widget.EditText;


public class OdemeActivity extends Activity {
    /** Called when the activity is first created. */
	private String fiyatt;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.odeme);
        fiyatt = "0.0";
        EditText fiyat = (EditText)findViewById(R.id.editText8);
        Bundle extras = getIntent().getExtras();
        fiyatt = String.valueOf(extras.getDouble("fiyat"));
        fiyat.setText(fiyatt);
        
        
    }
    
    @Override
	public boolean onKeyDown(int keyCode, KeyEvent event) 
	{
		if(keyCode == KeyEvent.KEYCODE_BACK)
        {
			fiyatt = "0.0";
			
			finish();
            return true;
         }
         else
         {
             return super.onKeyDown(keyCode, event);
               
         }
	}
}